<template>
	<view>
		<basebutton :msg='msg'></basebutton>
		<input type="Number" v-model='number' @change='cs()'>
	</view>
</template>

<script>
	import  basebutton from '../../components/baseButton.vue'
	export default {
		data() {
			return {
				msg:'这是一条测试数据',
				number:''
			}
		},
		components:{
			basebutton
		},
		methods: {
			cs(){
				console.log(typeof(parseInt(this.number)));
				
			}
		}
	}
</script>

<style>

</style>
